const routerList = [
  {
    path: '/device',
    icon: 'el-icon-s-opportunity',
    perms: 'device',
    name: '设备管理',
    id: 162,
    children: [
      {
        path: 'deviceList',
        name: '设备列表',
        perms: 'device:list',
        id: 251,
        children: [
          {
            path: 'deviceAdd',
            name: '新增',
            perms: 'device:add',
            id: 165
          },
          {
            path: 'deviceUpdate',
            name: '修改',
            perms: 'device:update',
            id: 166
          },
          {
            path: 'deviceDetail',
            name: '详情',
            perms: 'device:detail',
            id: 257
          }
        ]
      },
      {
        path: 'manufacturerList',
        name: '厂家列表',
        perms: 'manufacturer:list',
        id: 253,
        children: [
          {
            path: 'manufacturerAdd',
            name: '新增',
            perms: 'manufacturer:add',
            id: 254
          },
          {
            path: 'manufacturerDetail',
            name: '详情',
            perms: 'manufacturer:detail',
            id: 256
          },
          {
            path: 'manufacturerUpdate',
            name: '修改',
            perms: 'manufacturer:update',
            id: 255
          }
        ]
      },
      {
        path: 'gatewayList',
        name: '耳标网关',
        perms: 'deviceGateway:list',
        id: 215,
        children: [
          {
            path: 'gatewayUPdate',
            name: '修改',
            perms: 'deviceGateway:update',
            id: 218
          },
          {
            path: 'gatewayDetail',
            name: '详情',
            perms: 'deviceGateway:detail',
            id: 217
          },
          {
            path: 'gatewayAdd',
            name: '新增',
            perms: 'deviceGateway:add',
            id: 216
          },
          {
            path: 'gatewayDelete',
            name: '删除',
            perms: 'deviceGateway:delete',
            id: 219
          }
        ]
      },
      {
        path: 'deviceComponentList',
        name: '组合列表-新',
        perms: 'deviceComponent:list',
        id: 258,
        children: [
          {
            path: 'deviceComponentDetail',
            name: '详情',
            perms: 'deviceComponent:detail',
            id: 262
          },
          {
            path: 'deviceComponentAdd',
            name: '新增',
            perms: 'deviceComponent:add',
            id: 259
          },
          {
            path: 'deviceComponentDelete',
            name: '删除',
            perms: 'deviceComponent:delete',
            id: 261
          },
          {
            path: 'deviceComponentUpdate',
            name: '修改',
            perms: 'deviceComponent:update',
            id: 260
          }
        ]
      },
      {
        path: 'earTagList',
        name: '耳标列表',
        perms: 'earTag:list',
        id: 220,
        children: [
          {
            path: 'earTagDelete',
            name: '删除',
            perms: 'earTag:delete',
            id: 224
          },
          {
            path: 'earTagUpdate',
            name: '修改',
            perms: 'earTag:update',
            id: 223
          },
          {
            path: 'earTagDetail',
            name: '详情',
            perms: 'earTag:detail',
            id: 222
          },
          {
            path: 'earTagAdd',
            name: '新增',
            perms: 'earTag:add',
            id: 221
          }
        ]
      }
    ]
  },
  {
    path: '/user',
    icon: 'el-icon-house',
    perms: 'user',
    name: '用户管理',
    id: 178,
    children: [
      {
        path: 'roleList',
        name: '角色列表',
        perms: 'role:list',
        id: 173,
        children: [
          {
            path: 'roleDelete',
            name: '删除',
            perms: 'role:delete',
            id: 177
          },
          {
            path: 'roleDetail',
            name: '详情',
            perms: 'role:detail',
            id: 175
          },
          {
            path: 'roleAdd',
            name: '新增',
            perms: 'role:add',
            id: 174
          },
          {
            path: 'roleUpdate',
            name: '修改',
            perms: 'role:update',
            id: 176
          }
        ]
      },
      {
        path: 'adminRoleList',
        name: '管理员角色列表',
        perms: 'adminRole:list',
        id: 184,
        children: [
          {
            path: 'adminRoleDetail',
            name: '详情',
            perms: 'adminRole:detail',
            id: 185
          },
          {
            path: 'adminRoleUpdate',
            name: '修改',
            perms: 'adminRole:update',
            id: 186
          }
        ]
      },
      {
        path: 'userList',
        name: '用户列表',
        perms: 'user:list',
        id: 179,
        children: [
          {
            path: 'userDelete',
            name: '删除',
            perms: 'user:delete',
            id: 182
          },
          {
            path: 'userDetail',
            name: '用户详情',
            perms: 'user:detail',
            id: 180
          },
          {
            path: 'userAdd',
            name: '新增',
            perms: 'user:add',
            id: 181
          }
        ]
      }
    ]
  },
  {
    path: '/company',
    icon: 'el-icon-s-cooperation',
    perms: 'company',
    name: '公司管理',
    id: 187,
    children: [
      {
        path: 'companyList',
        name: '公司列表',
        perms: 'company:list',
        id: 188,
        children: [
          {
            path: 'companyDetail',
            name: '详情',
            perms: 'company:detail',
            id: 189
          },
          {
            path: 'companyAdd',
            name: '新增',
            perms: 'company:add',
            id: 192
          },
          {
            path: 'companyDelete',
            name: '删除',
            perms: 'company:delete',
            id: 191
          },
          {
            path: 'companyUpdate',
            name: '修改',
            perms: 'company:update',
            id: 190
          }
        ]
      }
    ]
  },
  {
    path: '/ranch',
    icon: 'el-icon-suitcase',
    perms: 'ranch',
    name: '牧场管理',
    id: 193,
    children: [
      {
        path: 'penList',
        name: '圈棚列表',
        perms: 'pen:list',
        id: 199,
        children: [
          {
            path: 'penDelete',
            name: '删除',
            perms: 'pen:delete',
            id: 203
          },
          {
            path: 'penDetail',
            name: '详情',
            perms: 'pen:detail',
            id: 201
          },
          {
            path: 'penAdd',
            name: '新增',
            perms: 'pen:add',
            id: 200
          },
          {
            path: 'penUpdate',
            name: '修改',
            perms: 'pen:update',
            id: 202
          }
        ]
      },
      {
        path: 'styList',
        name: '栏舍列表',
        perms: 'sty:list',
        id: 204,
        children: [
          {
            path: 'styUpdate',
            name: '修改',
            perms: 'sty:update',
            id: 207
          },
          {
            path: 'styAdd',
            name: '新增',
            perms: 'sty:add',
            id: 205
          },
          {
            path: 'styDetail',
            name: '详情',
            perms: 'sty:detail',
            id: 206
          },
          {
            path: 'styDelete',
            name: '删除',
            perms: 'sty:delete',
            id: 208
          }
        ]
      },
      {
        path: 'ranchList',
        name: '牧场列表',
        perms: 'ranch:list',
        id: 194,
        children: [
          {
            path: 'ranchUpdate',
            name: '修改',
            perms: 'ranch:update',
            id: 197
          },
          {
            path: 'ranchDetail',
            name: '详情',
            perms: 'ranch:detail',
            id: 196
          },
          {
            path: 'ranchAdd',
            name: '新增',
            perms: 'ranch:add',
            id: 195
          },
          {
            path: 'ranchDelete',
            name: '删除',
            perms: 'ranch:delete',
            id: 198
          }
        ]
      }
    ]
  },
  {
    path: '/livestock',
    icon: 'el-icon-suitcase',
    perms: 'livestock',
    name: '牲畜管理',
    id: 209,
    children: [
      {
        path: 'livestockTypeList',
        name: '品种列表',
        perms: 'livestockType:list',
        id: 210,
        children: [
          {
            path: 'livestockTypeDetail',
            name: '详情',
            perms: 'livestockType:detail',
            id: 212
          },
          {
            path: 'livestockTypeDelete',
            name: '删除',
            perms: 'livestockType:delete',
            id: 214
          },
          {
            path: 'livestockTypeUpdate',
            name: '修改',
            perms: 'livestockType:update',
            id: 213
          },
          {
            path: 'livestockTypeAdd',
            name: '新增',
            perms: 'livestockType:add',
            id: 211
          }
        ]
      },
      {
        path: 'livestockList',
        name: '牲畜列表',
        perms: 'livestock:list',
        id: 225,
        children: [
          {
            path: 'livestockDelete',
            name: '删除',
            perms: 'livestock:delete',
            id: 229
          },
          {
            path: 'livestockChange',
            name: '转栏',
            perms: 'livestock:change',
            id: 230
          },
          {
            path: 'livestockChangeRecord',
            name: '转栏记录',
            perms: 'livestock:changeRecord',
            id: 231
          },
          {
            path: 'livestockOut',
            name: '出栏',
            perms: 'livestock:out',
            id: 232
          },
          {
            path: 'livestockOutRecord',
            name: '出栏记录',
            perms: 'livestock:outRecord',
            id: 233
          },
          {
            path: 'livestockAdd',
            name: '新增',
            perms: 'livestock:add',
            id: 226
          },
          {
            path: 'livestockDetail',
            name: '详情',
            perms: 'livestock:detail',
            id: 227
          },
          {
            path: 'livestockUpdate',
            name: '修改',
            perms: 'livestock:update',
            id: 228
          }
        ]
      }
    ]
  },
  {
    path: '/deviceGroup',
    icon: 'el-icon-s-opportunity',
    perms: 'deviceGroup',
    name: '设备组合',
    id: 246,
    children: [
      {
        path: 'deviceGroupList',
        name: '组合列表',
        perms: 'deviceGroup:list',
        id: 247,
        children: [
          {
            path: 'deviceGroupAdd',
            name: '新增',
            perms: 'deviceGroup:add',
            id: 249
          },
          {
            path: 'deviceGroupUpdate',
            name: '修改',
            perms: 'deviceGroup:update',
            id: 250
          },
          {
            path: 'deviceGroupDetail',
            name: '详情',
            perms: 'deviceGroup:detail',
            id: 248
          }
        ]
      }
    ]
  }
]

export default routerList
